<html>
    <head>
        <title>image upload test</title>
        <script type="text/javascript" src="/static/js/jquery-1.10.2.js"></script>	
    </head>

    <body>
        <h1>upload test</h1>

        <div id="show"></div>
        <iframe id="preview" name="preview" style="display:none;"></iframe>

        <form method="POST" action="/forum/upload/" target="preview" enctype="multipart/form-data">
        {% csrf_token %}
        {{form.as_p}}
        {{form.error}}
        <input type="submit" value="upload" />
        </form>

    </body>
    
</html>


